{extends file='main.tpl'}

{block name="title"}
  <title>Login</title>
{/block}

{block name="content"}

  {if $haslogo}
    <a href="{$base}" rel="home"><img class="logo" src="{$logo}" alt="logo"></a>
  {/if}

  <p>
    <strong>
      Login
    </strong>
  </p>

  <h2>{$message}</h2>

  <form action="{$smarty.server.PHP_SELF}" method="post" class="form-example">
    <div>
      <label for="identify">Usuario: </label>
      <input type="text" name="identify" id="identify" value="{$identify}" required>
    </div>
    <div>
      <label for="hash">Contraseña: </label>
      <input type="password" name="hash" id="hash" value="{$hash}" required>
    </div>
    <div>
      <input type="submit" value="Ingresar">
    </div>
  </form>
{/block}